package com.pxst.bank.req;

import com.pxst.req.BasePageRsp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(value = "群组搜索请求类")
public class BankCardGroupReq extends BasePageRsp {

    @ApiModelProperty(value = "银行卡id")
    private List<Long> bankCardId;

    @ApiModelProperty(value = "卡群id")
    private Long bankGroupId;

    @ApiModelProperty(value = "商户id")
    private List<Long> merchanId;

    @ApiModelProperty(value = "地区" ,required = true)
    @NotBlank(message = "地区不能为空")
    private String currency;

    @ApiModelProperty(value = "类别 0.商户，1.码农（已废弃）" ,required = true)
    @NotNull(message = "类别不能为空")
    private Integer groupType;
}
